package com.ruiyi.adrobot.domain.company;

import com.ruiyi.adrobot.domain.common.BaseEntity;

import java.util.List;

/**
 * Created by tao.zeng on 2017/8/2.
 */
public class Company extends BaseEntity {
    private String companyName;
    private String address;
    private String contactName;
    private String telephone;
    private String userName;
    private String password;
    private List<Integer> funs;
    private String accessToken; // token
    private Long deadline; //accessToken 截止时间 24小时

    public Company() {
    }

    public Company(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }

    public Company(String companyName, String address, String contactName, String telephone, String userName, String password) {
        this.companyName = companyName;
        this.address = address;
        this.contactName = contactName;
        this.telephone = telephone;
        this.userName = userName;
        this.password = password;
        this.funs = funs;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Long getDeadline() {
        return deadline;
    }

    public void setDeadline(Long deadline) {
        this.deadline = deadline;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Integer> getFuns() {
        return funs;
    }

    public void setFuns(List<Integer> funs) {
        this.funs = funs;
    }
}
